package ru.gerunn.study.spring.springsource;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Aspect
public class LoggingAspect {

	@Before("execution(* ru.gerunn.study.spring.springsource.Operation.*(..))")
	public void logMethodExecution(JoinPoint jp) {
		System.out.println("AOP logging -> " + jp.toShortString());
	}

}